package com.webservice.srm.transport;

import com.webservice.srm.dto.SupplierWsDto;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * Created by zc on 2016/5/20.
 */
@WebService(name  = "supplierWS", targetNamespace = "http://transport.srm.webservice.com")
//@SOAPBinding(style = SOAPBinding.Style.RPC)
@XmlSeeAlso({})
public interface SupplierWS {


    @WebMethod(operationName = "getSupplier", action = "http://transport.srm.webservice.com/getSupplier")
    public SupplierWsDto[] getSupplier(@WebParam(name = "productId") String productId,
                                       @WebParam(name = "supplierId") String supplierId,
                                       @WebParam(name = "supplierName") String supplierName,
                                       @WebParam(name = "companyCode") String companyCode);
}
